DefaultTextStyle Properties

Properties

AsianCountry Specifies the country of a text.It is evaluated for [UNICODE] characters that are CJK characters.
AsianFont Specifies the font of choice.
AsianFontCharacterSet Specifies whether a font defines glyphs according to the semantics of [UNICODE] or not. It is evaluated for [UNICODE] characters that are CJK characters.
AsianFontFamily Specifies the font family for a text.It is evaluated for [UNICODE] characters that are CJK characters.
AsianFontPitch Specifies whether a font has a fixed or variable width. This attribute is evaluated for [UNICODE] characters that are CJK characters. The defined values are: -fixed: font width is fixed. -variable: font width is variable.
AsianFontSize Specifies the size of a font.It is evaluated for [UNICODE] characters that are CJK characters.
AsianFontStyle Specifies whether to use normal or italic font face. The defined values are: -italic: characters displayed in an italic font face. -normal: characters displayed in normal font face. -oblique: characters displayed in an oblique font face.
AsianFontStyleType Specifies the font asian style type.
AsianFontWeight Specifies the weight of a font.It is evaluated for [UNICODE] characters that are CJK characters.
AsianGenericFontFamily Specifies the generic Asian font family name.It is evaluated for [UNICODE] characters that are CJK characters. The defined values are: -decorative: the family of decorative fonts. -modern: the family of modern fonts. -roman: the family roman fonts (with serifs). -script: the family of script fonts. -swiss: the family roman fonts (without serifs). -system: the family system fonts.
AsianLanguage Specifies the language of a text.It is evaluated for [UNICODE] characters that are CJK characters.
BackgroundColor Specifies the background color for text sections. This can be transparent or a color.
Color Contains the color of the text.
ComplexCountry Specifies the country of a text.It is evaluated for [UNICODE] characters that are complex text layout (CTL) characters.
ComplexFont Specifies the font of choice.
ComplexFontCharacterSet Specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.It is evaluated for [UNICODE] characters that are complex text layout (CTL) characters.
ComplexFontFamily Specifies the font family for a text.This attribute is evaluated for [UNICODE] characters that are complex text layout (CTL) characters.
ComplexFontPitch Specifies whether a font has a fixed or variable width. This attribute is evaluated for [UNICODE] characters that are complex text layout (CTL) characters. The defined values are: -fixed: font width is fixed. -variable: font width is variable.
ComplexFontSize Specifies the size of a font.It is evaluated for [UNICODE] characters that are complex text layout (CTL) characters.
ComplexFontStyle Specifies whether to use normal or italic font face. The defined values are: -italic: characters displayed in an italic font face. -normal: characters displayed in normal font face. -oblique: characters displayed in an oblique font face.
ComplexFontStyleType Specifies the font complex style type.
ComplexFontWeight Specifies the weight of a font.It is evaluated for [UNICODE] characters that are complex text layout (CTL) characters.
ComplexGenericFontFamily Specifies the generic font family name. The defined values are: -decorative: the family of decorative fonts. -modern: the family of modern fonts. -roman: the family roman fonts (with serifs). -script: the family of script fonts. -swiss: the family roman fonts (without serifs). -system: the family system fonts.
ComplexLanguage Specifies the language of a text.It is evaluated for [UNICODE] characters that are complex text layout (CTL) characters.
Country Specifies the country of a text.
EnableHyphenation 
EnableLetterKerning Specifies whether kerning between characters is enabled or disabled.
EnableTextBlinking Specifies whether text blinks.
Family Contains the style family.
(Inherited from DefaultStyle)
Font Specifies the font of the text.
FontCharacterSet Specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.
FontFamily Specifies the font family for a text.
FontPitch Specifies whether a font has a fixed or variable width. This attribute is evaluated for any [UNICODE] character other than CJK or complex text layout (CTL) characters. The defined values are: -fixed: font pitch is fixed. -variable: font pitch is variable.
FontRelief Specifies whether a font should be embossed, engraved, or neither. The defined values are: -embossed: characters are embossed. -engraved: characters are engraved. -none: characters are neither embossed or engraved.
FontSize Specifies the size of a font.
FontStyle Specifies the font style name.
FontStyleType Specifies the font style type.
FontVariant Contains the font variant of the text.
FontWeight Specifies the weight of a font.
GenericFontFamily Specifies the generic font family name.This attribute is evaluated for any [UNICODE] character other than CJK or complex text layout (CTL) characters. The defined values are: -decorative: the family of decorative fonts. -modern: the family of modern fonts. -roman: the family roman fonts (with serifs). -script: the family of script fonts. -swiss: the family roman fonts (without serifs). -system: the family system fonts.
HyphenationPushCharCount 
HyphenationRemainCharCount 
Language Specifies the language of a text.
LetterSpacing Specifies the spacing between letters.
LineThroughWordMode Specifies whether lining through is applied to words only or to portions of text. The defined values are: -continuous: lining is applied to words and separating spaces. -skip-white-space: lining is not applied to spaces between words.
RelativeAsianFontSize Specifies the relative font size change.It is evaluated for [UNICODE] characters that are CJK characters.
RelativeComplexFontSize Specifies the relative font size change.It is evaluated for [UNICODE] characters that are CJK characters.
RelativeFontSize Specifies the relative font size change.It is evaluated for any [UNICODE] character other than CJK or complex text layout (CTL) characters.
ScriptType Specifies the script type. The attribute is evaluated for any [UNICODE] characters that are not CJK or complex text layout (CTL) characters.
Shadow Specifies the text shadow style to use.
TextCombine Specifies whether to combine characters so that they are displayed within two lines. The defined values are: -letters: Display text in Kumimoji. Up to five (5) characters are combined within two lines and are displayed with a reduced size in a single wide-cell character. Additional characters are displayed as normal text. -lines: Displays text in Warichu. All characters with the style:text-combine attribute that immediately follow each other are displayed within two lines of approximately the same length. A line break may occur between any two characters to meet this constraint. -none: characters should not be combined.
TextCombineEndChar Specifies the end character that is displayed after a portion of text
TextCombineStartChar Specifies the start character that is displayed before a portion of text
TextLineThrough Specifies the color that is used for line-through text.
TextLineThroughColor Specifies the color that is used for line-through text.
TextLineThroughStyle Specifies the style for rendering a line-through text.
TextLineThroughText Specifies the text that is used for line-through.
TextLineThroughTextStyle Specifies the text style that is applied to text-line-through characters. It is not applied to line-through lines. If the attribute appears in an automatic style, it may reference either an automatic text style or a common style. If the attribute appears in a common style, it may reference a common style only.
TextLineThroughWidth Specifies the width of a line-through line. The value bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width.
TextOutline Specifies whether to display an outline of text or the text itself.
TextPosition Specifies whether text is positioned above or below the baseline and to specify the relative font height that is used for this text.
TextRotationAngle Specifies an angle to which text is rotated.If more than one character is selected, the entire selection is rotated as a block. The defined values for are: -0 degrees -90 degrees -270 degrees -an angle. The value shall be one of 0deg, 90deg or 270deg, or any of its equivalents in rad or grad.
TextRotationScale Specifies whether for rotated text the width of the text should be scaled to fit into the current line height or the width of the text should remain fixed, therefore changing the current line height. The defined values for are: -fixed: width of text should remain fixed. -line-height: width of text should be scaled to fit the current line height.
TextScale Specifies the text scale.
TextTransformation Specifies the text transformation.
UnderlineColor Specifies the color that is used to underline text. The value of this attribute is either font-color or a color. The defined values are: -font-color: the current text color is used for underlining. -a value of type color: the color to be used for underlining.
UnderlineStyle Specifies the style for underlining text. The defined values are: -none: text has no underlining. -dash: text has a dashed line underlining it. -dot-dash: text has a line whose repeating pattern is a dot followed by a dash underlining it. -dot-dot-dash: text has a line whose repeating pattern is two dots followed by a dash underlining it. -dotted: text has a dotted line underlining it. -long-dash: text has a dashed line whose dashes are longer than the ones from the dashed line for value dash underlining it. -solid: text has a solid line underlining it. -wave: text has a wavy line underlining it.
UnderlineType Specifies the type of underlining applied to a text. The defined values are: -double: a double line should be used for underlining applied to a text. -none: deprecated. -single: a single line should be used for underlining applied to a text.
UnderlineWidth Specifies the width of an underline. The value bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width. The defined values are: -auto: the width of an underline should be calculated from the font size of the text where the underline will appear. -bold: the width of an underline should be calculated from the font size of the text where the underline will appear but is wider than for the value of auto. -a value of type percent -a value of type positive integer -a value of type positive length
UnderlineWordMode Specifies whether underlining is applied to words only or to portions of text. If underlining is applied to text portions, the spaces between words and the words are underlined. The defined values are: -continuous: underlining is applied to words and separating spaces. -skip-white-space: underlining is not applied to spaces between words.
UseWindowFontColor Specifies whether the window foreground color should be used as the foreground color for a light background color and white for a dark background color. The determination of what constitutes a light or dark color is implementation defined.

See Also